{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-07-12 15:43:11 +0200 (Sat, 12 Jul 2008) $
 * $Rev: 1291 $
 * $Author: gavinspearhead $
 * $Id: ajax_showtransfers.tpl 1291 2008-07-12 13:43:11Z gavinspearhead $
 *}
{* Ajax page, doesn't need a head/foot tpl *}
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close" onclick="javascript:hide_popup('postmessagediv', 'postmessage');"/>
<input type="hidden" name="challenge" id="challenge1" value="{$challenge}"/>
</div>

<h2>{$LN_post_message}</h2>
<br/>
<table class="hmid fullwidth">
<tr><td>{$LN_post_newsgroup}:</td><td><select name="newsgroup" id="groupid" {popup text=$LN_post_newsgroupext2} >
{foreach from=$groups item=name key=id}
    <option value="{$id}" {if $id == $groupid }selected="selected"{/if}>{$name}</option>
{/foreach}
</select></td></tr>
<tr><td>{$LN_post_subject}:</td><td><input type="text" name="subject" id="subject" {popup text=$LN_post_subjectext2} size="40" value="{$subject}"/></td></tr>
<tr><td>{$LN_post_postername}:</td><td><input type="text" name="postername" id="postername" {popup text=$LN_post_posternameext} value="{$poster_name}" size="40"/></td></tr>
<tr><td>{$LN_post_posteremail}:</td><td><input type="text" name="posteremail" id="posteremail" {popup text=$LN_post_posteremailext} value="{$poster_email}" size="40"/></td></tr>
<tr><td>{$LN_post_messagetext}:</td><td><textarea name="messagetext" id="messagetext" rows="8" cols="40" {popup text=$LN_post_messagetextext} ></textarea>
<tr><td>&nbsp;</td></tr>
<tr><td colspan="2"><input type="submit" value="{$LN_post_post}" class="submit" onclick="javascript:post_message();"/></td></tr>

</table>
